package com.sie.plm.rpm.standar.vo;

public class MemberDTO {
    private String type;
    private String name;
    private String oid;

    public void setType(String type) {
        this.type = type;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public void setOtype(String otype) {
        this.otype = otype;
    }

    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof MemberDTO)) return false;
        MemberDTO other = (MemberDTO) o;
        if (!other.canEqual(this)) return false;
        Object this$type = getType(), other$type = other.getType();
        if ((this$type == null) ? (other$type != null) : !this$type.equals(other$type)) return false;
        Object this$name = getName(), other$name = other.getName();
        if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name)) return false;
        Object this$oid = getOid(), other$oid = other.getOid();
        if ((this$oid == null) ? (other$oid != null) : !this$oid.equals(other$oid)) return false;
        Object this$otype = getOtype(), other$otype = other.getOtype();
        return !((this$otype == null) ? (other$otype != null) : !this$otype.equals(other$otype));
    }

    protected boolean canEqual(Object other) {
        return other instanceof MemberDTO;
    }

    public int hashCode() {
        int PRIME = 59 ,result = 1;
        Object $type = getType();
        result = result * 59 + (($type == null) ? 43 : $type.hashCode());
        Object $name = getName();
        result = result * 59 + (($name == null) ? 43 : $name.hashCode());
        Object $oid = getOid();
        result = result * 59 + (($oid == null) ? 43 : $oid.hashCode());
        Object $otype = getOtype();
        return result * 59 + (($otype == null) ? 43 : $otype.hashCode());
    }

    public String toString() {
        return "MemberDTO(type=" + getType() + ", name=" + getName() + ", oid=" + getOid() + ", otype=" + getOtype() + ")";
    }


    public String getType() {
        return this.type;
    }


    public String getName() {
        return this.name;
    }


    public String getOid() {
        return this.oid;
    }


    private String otype = "ty.inteplm.org.CTyUser";

    public String getOtype() {
        return this.otype;
    }

    public MemberDTO(String type, String name, String oid, String otype) {
        this.type = type;
        this.name = name;
        this.oid = oid;
        this.otype = otype;
    }

    public MemberDTO() {
    }
}
